package cn.lili.modules.distribution.fallback;

import cn.lili.common.exception.ServiceException;
import cn.lili.modules.distribution.client.DistributionClient;
import cn.lili.modules.distribution.entity.dos.Distribution;
import cn.lili.modules.distribution.entity.dto.DistributionQueryDTO;
import cn.lili.modules.distribution.entity.vos.DistributionVO;
import cn.lili.modules.member.entity.vo.NumberOfOwnersReq;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

public class DistributionFallback implements DistributionClient {


    @Override
    public void updateDistributionAmount() {
        throw new ServiceException();
    }

    @Override
    public Distribution getDistribution(String userId) {
        throw new ServiceException();
    }

    @Override
    public Distribution getDistributionPass(String userId) {
        throw new ServiceException();
    }

    @Override
    public Distribution getDistributionById(String id) {
        throw new ServiceException();
    }


    @Override
    public void addGrossCommission( String id,  BigDecimal scoreScale)  {
        throw new ServiceException();
    }

    @Override
    public void addRebateTotal( String id, BigDecimal scoreScale) {
        throw new ServiceException();
    }

    @Override
    public void subtractCommission( String id, BigDecimal scoreScale) {
        throw new ServiceException();
    }

    @Override
    public void addDirectOrderNumber(String id) {
        throw new ServiceException();
    }

    @Override
    public List<Distribution> getDistributionList(Distribution dis) {
        throw new ServiceException();
    }
    @Override
    public Boolean updateDistributionParentInfo(Distribution dis) {
        throw new ServiceException();
    }

    @Override
    public Map<String, Integer> computeType(List<String> userIdList) {
        throw new ServiceException();
    }

    @Override
    public Double getLowerAndLowerComissSubByParentId(DistributionQueryDTO dto) {
        throw new ServiceException();
    }

    @Override
    public List<Distribution> getListByName(String keyword) {
        throw new ServiceException();
    }

    @Override
    public Boolean clearParentInfo(Distribution dis) {
        throw new ServiceException();
    }

    @Override
    public List<Distribution> getList(DistributionVO distributionVO) {
        throw new ServiceException();
    }

    @Override
    public Long getCountByWrapper() {
        throw new ServiceException();
    }

    @Override
    public Long getCountByTypeWrapper(Integer type) {
        throw new ServiceException();
    }

    @Override
    public List<Distribution> getListByDistribution(DistributionVO distributionVO) {
        throw new ServiceException();
    }
}
